ElasticPress\Feature\Search\Synonyms B

Total Complexity 80
Dependencies 8
Dependents 1
Total lines 877
Lines of code 471
Logical lines of code 189
Comment lines 278
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
add_search_synonyms()
A
50 8 31
handle_update_synonyms()
A
46 7 37
admin_notices()
S
49 7 30
update_synonyms()
S
50 5 30
get_localized_data()
S
49 3 34
get_synonym_post_id()
S
56 4 18
validate_synonym()
S
62 4 12
scripts()
S
47 2 40
example_synonym_list()
S
59 2 15
save_editor_mode()
S
63 3 10
synonyms_editor_mode()
S
65 3 8
update_synonym_post()
S
61 2 14
get_localized_strings()
S
50 1 28
get_affected_indices()
S
62 2 12
setup()
S
62 2 11
register_post_type()
S
58 1 16
maybe_change_filter_position()
S
66 2 8
is_synonym_page()
S
68 2 7
get_synonyms_raw()
S
69 2 7
requirements_status()
S
68 2 7
prepare_localized_token()
S
66 1 8
setup_endpoint()
S
76 1 4
insert_default_synonym_post()
S
67 1 9
__construct()
S
76 1 4
get_action()
S
76 1 4
get_synonym_field()
S
76 1 4
get_nonce_field()
S
76 1 4
get_nonce_action()
S
76 1 4
form_hidden_fields()
S
69 1 7
get_form_action()
S
75 1 4
get_search_feature()
S
76 1 4
get_synonym_filter_name()
S
79 1 3
get_synonyms()
S
65 1 9
admin_page()
S
71 1 8
admin_menu()
S
64 1 10
get_synonym_filter()
S
65 1 10